<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CMSIS-Core (Cortex-A): CMSIS Core Register Access Functions</title>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="tabs.js"></script>
<script type="text/javascript" src="footer.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/javascript" src="darkmode_toggle.js"></script>
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
<link href="extra_search.css" rel="stylesheet" type="text/css"/>
<link href="extra_tabs.css" rel="stylesheet" type="text/css"/>
<link href="version.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../version.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 55px;">
  <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
  <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
   <div id="projectname">CMSIS-Core (Cortex-A)
   &#160;<span id="projectnumber"><script type="text/javascript">
     <!--
     writeHeader.call(this);
     writeVersionDropdown.call(this, "CMSIS-Core (Cortex-A)");
     //-->
    </script>
   </span>
   </div>
   <div id="projectbrief">CMSIS-Core support for Cortex-A processor-based devices</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
  <!--END !PROJECT_NAME-->
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
  <ul class="tablist">
    <script type="text/javascript">
      writeComponentTabs.call(this);
    </script>
  </ul>
</div>
<script type="text/javascript">
  writeSubComponentTabs.call(this);
</script>
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__CMSIS__Core__RegAccFunctions.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">CMSIS Core Register Access Functions<div class="ingroups"><a class="el" href="group__CMSIS__Core__FunctionInterface.html">Core Peripherals</a></div></div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaa4bddbd2091b8fb234ae43d290e69e78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#gaa4bddbd2091b8fb234ae43d290e69e78">__get_CPSR</a> (void)</td></tr>
<tr class="memdesc:gaa4bddbd2091b8fb234ae43d290e69e78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get CPSR Register.  <br /></td></tr>
<tr class="separator:gaa4bddbd2091b8fb234ae43d290e69e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48f0cfea7413b74bd90986762383c1cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga48f0cfea7413b74bd90986762383c1cd">__set_CPSR</a> (uint32_t cpsr)</td></tr>
<tr class="memdesc:ga48f0cfea7413b74bd90986762383c1cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set CPSR Register.  <br /></td></tr>
<tr class="separator:ga48f0cfea7413b74bd90986762383c1cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cf62691d82a3f3a0d844ae94718a5a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga4cf62691d82a3f3a0d844ae94718a5a9">__get_mode</a> (void)</td></tr>
<tr class="memdesc:ga4cf62691d82a3f3a0d844ae94718a5a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get Mode.  <br /></td></tr>
<tr class="separator:ga4cf62691d82a3f3a0d844ae94718a5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ad5710bc622794ffed1d31740f6be55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga7ad5710bc622794ffed1d31740f6be55">__set_mode</a> (uint32_t mode)</td></tr>
<tr class="memdesc:ga7ad5710bc622794ffed1d31740f6be55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Mode.  <br /></td></tr>
<tr class="separator:ga7ad5710bc622794ffed1d31740f6be55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebea89632181454327b3dc0cf29ec358"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#gaebea89632181454327b3dc0cf29ec358">__get_SP</a> (void)</td></tr>
<tr class="memdesc:gaebea89632181454327b3dc0cf29ec358"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get Stack Pointer.  <br /></td></tr>
<tr class="separator:gaebea89632181454327b3dc0cf29ec358"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d25d5770874bf1c824f892739bfdf41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga6d25d5770874bf1c824f892739bfdf41">__set_SP</a> (uint32_t stack)</td></tr>
<tr class="memdesc:ga6d25d5770874bf1c824f892739bfdf41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Stack Pointer.  <br /></td></tr>
<tr class="separator:ga6d25d5770874bf1c824f892739bfdf41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7009688fca7a35b5e3ba6cf11cc74869"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga7009688fca7a35b5e3ba6cf11cc74869">__get_SP_usr</a> (void)</td></tr>
<tr class="memdesc:ga7009688fca7a35b5e3ba6cf11cc74869"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get USR/SYS Stack Pointer.  <br /></td></tr>
<tr class="separator:ga7009688fca7a35b5e3ba6cf11cc74869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabb67304694380b52a86cdc77efdfbf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#gaabb67304694380b52a86cdc77efdfbf9">__set_SP_usr</a> (uint32_t topOfProcStack)</td></tr>
<tr class="memdesc:gaabb67304694380b52a86cdc77efdfbf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set USR/SYS Stack Pointer.  <br /></td></tr>
<tr class="separator:gaabb67304694380b52a86cdc77efdfbf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadde57667b9f81c468a49268513624b90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#gadde57667b9f81c468a49268513624b90">__get_FPEXC</a> (void)</td></tr>
<tr class="memdesc:gadde57667b9f81c468a49268513624b90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get FPEXC.  <br /></td></tr>
<tr class="separator:gadde57667b9f81c468a49268513624b90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14ba90beb9b4712454f35ac453c45f5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CMSIS__Core__RegAccFunctions.html#ga14ba90beb9b4712454f35ac453c45f5d">__set_FPEXC</a> (uint32_t fpexc)</td></tr>
<tr class="memdesc:ga14ba90beb9b4712454f35ac453c45f5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set FPEXC.  <br /></td></tr>
<tr class="separator:ga14ba90beb9b4712454f35ac453c45f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaa4bddbd2091b8fb234ae43d290e69e78" name="gaa4bddbd2091b8fb234ae43d290e69e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa4bddbd2091b8fb234ae43d290e69e78">&#9670;&#160;</a></span>__get_CPSR()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t __get_CPSR </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get CPSR Register. </p>
<dl class="section return"><dt>Returns</dt><dd>CPSR Register value</dd></dl>
<p>This function returns the content of the <a class="el" href="group__CMSIS__CPSR.html">Current Program Status Register (CPSR)</a>. </p>

</div>
</div>
<a id="gadde57667b9f81c468a49268513624b90" name="gadde57667b9f81c468a49268513624b90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadde57667b9f81c468a49268513624b90">&#9670;&#160;</a></span>__get_FPEXC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t __get_FPEXC </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get FPEXC. </p>
<dl class="section return"><dt>Returns</dt><dd>Floating Point Exception Control register value</dd></dl>
<p>This function returns the current value of the <a class="el" href="group__CMSIS__FPEXC.html">Floating-Point Exception Control register (FPEXC)</a>. </p>

</div>
</div>
<a id="ga4cf62691d82a3f3a0d844ae94718a5a9" name="ga4cf62691d82a3f3a0d844ae94718a5a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4cf62691d82a3f3a0d844ae94718a5a9">&#9670;&#160;</a></span>__get_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t __get_mode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get Mode. </p>
<dl class="section return"><dt>Returns</dt><dd>Processor Mode </dd></dl>

</div>
</div>
<a id="gaebea89632181454327b3dc0cf29ec358" name="gaebea89632181454327b3dc0cf29ec358"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebea89632181454327b3dc0cf29ec358">&#9670;&#160;</a></span>__get_SP()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t __get_SP </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get Stack Pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>Stack Pointer value </dd></dl>

</div>
</div>
<a id="ga7009688fca7a35b5e3ba6cf11cc74869" name="ga7009688fca7a35b5e3ba6cf11cc74869"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7009688fca7a35b5e3ba6cf11cc74869">&#9670;&#160;</a></span>__get_SP_usr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> uint32_t __get_SP_usr </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get USR/SYS Stack Pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>USR/SYS Stack Pointer value </dd></dl>

</div>
</div>
<a id="ga48f0cfea7413b74bd90986762383c1cd" name="ga48f0cfea7413b74bd90986762383c1cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48f0cfea7413b74bd90986762383c1cd">&#9670;&#160;</a></span>__set_CPSR()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void __set_CPSR </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>cpsr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set CPSR Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cpsr</td><td>CPSR value to set</td></tr>
  </table>
  </dd>
</dl>
<p>This function assigns the given value to the <a class="el" href="group__CMSIS__CPSR.html">Current Program Status Register (CPSR)</a>. </p>

</div>
</div>
<a id="ga14ba90beb9b4712454f35ac453c45f5d" name="ga14ba90beb9b4712454f35ac453c45f5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14ba90beb9b4712454f35ac453c45f5d">&#9670;&#160;</a></span>__set_FPEXC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void __set_FPEXC </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>fpexc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set FPEXC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fpexc</td><td>Floating Point Exception Control value to set</td></tr>
  </table>
  </dd>
</dl>
<p>This function assigns the given value to the <a class="el" href="group__CMSIS__FPEXC.html">Floating-Point Exception Control register (FPEXC)</a>. </p>

</div>
</div>
<a id="ga7ad5710bc622794ffed1d31740f6be55" name="ga7ad5710bc622794ffed1d31740f6be55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ad5710bc622794ffed1d31740f6be55">&#9670;&#160;</a></span>__set_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void __set_mode </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set Mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Mode value to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6d25d5770874bf1c824f892739bfdf41" name="ga6d25d5770874bf1c824f892739bfdf41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d25d5770874bf1c824f892739bfdf41">&#9670;&#160;</a></span>__set_SP()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void __set_SP </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>stack</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set Stack Pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stack</td><td>Stack Pointer value to set</td></tr>
  </table>
  </dd>
</dl>
<p>This function assigns the given value to the current stack pointer. </p>

</div>
</div>
<a id="gaabb67304694380b52a86cdc77efdfbf9" name="gaabb67304694380b52a86cdc77efdfbf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabb67304694380b52a86cdc77efdfbf9">&#9670;&#160;</a></span>__set_SP_usr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__comp__cntrl__gr.html#gab904513442afdf77d4f8c74f23cbb040">__STATIC_FORCEINLINE</a> void __set_SP_usr </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>topOfProcStack</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set USR/SYS Stack Pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">topOfProcStack</td><td>USR/SYS Stack Pointer value to set</td></tr>
  </table>
  </dd>
</dl>
<p>This function assigns the given value to the User/System Stack Pointer (SP_usr). </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">
      <script type="text/javascript">
        <!--
        writeFooter.call(this);
        //-->
      </script> 
    </li>
  </ul>
</div>
</body>
</html>
